//
//  GYMyHeadView.h
//  GoodLuck
//
//  Created by 郭为勇 on 2018/2/25.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol GYMyHeadViewDelegate <NSObject>

/**
 头视图中按钮点击事件

 @param tag <#tag description#>
 */
- (void)headViewToBtuClick:(NSInteger)tag;

/**
 修改用户头像
 */
- (void)changedHeadImage;
@end


@interface GYMyHeadView : UIView

/** 商品收藏数量 */
@property (weak, nonatomic) IBOutlet UILabel *collectionLable;

/** 店铺收藏数量 */
@property (weak, nonatomic) IBOutlet UILabel *shopCollectionLbale;

/** 用户头像 */
@property (weak, nonatomic) IBOutlet UIImageView *headImageView;

/** 用户名 */
@property (weak, nonatomic) IBOutlet UILabel *userNameLable;

/** 用户等级 */
@property (weak, nonatomic) IBOutlet UILabel *userLevelLable;


/** 代理 */
@property (nonatomic, weak) id<GYMyHeadViewDelegate> delegate;


/**
 得到视图的高度

 @return <#return value description#>
 */
- (CGFloat)getViewHeight;
@end
